package com.hwz.service;

import com.hwz.dto.DishDTO;
import com.hwz.dto.DishPageQueryDTO;
import com.hwz.entity.Dish;
import com.hwz.result.PageResult;
import com.hwz.result.Result;
import com.hwz.vo.DishVO;

import java.util.List;

public interface DishService {
    PageResult page(DishPageQueryDTO dishPageQueryDTO);

    void addDish(DishDTO dishDTO);

    DishVO getById(Long id);

    List<Dish> getByCategoryId(Long categoryId);

    void updateDish(DishDTO dishDTO);

    void deleteDish(List<Long> ids);

    void startOrOff(Long id, Integer status);

    List<DishVO> list(Long categoryId);
}
